]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: No stroke on entries
authorJakub Steiner <jimmac@gmail.com>
Thu, 22 Jul 2021 11:44:12 +0000 (13:44 +0200)
committerJakub Steiner <jimmac@gmail.com>
Thu, 22 Jul 2021 12:30:05 +0000 (14:30 +0200)
- Tobias' mini guadec initiative

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1924>

data/theme/gnome-shell-sass/widgets/_entries.scss
data/theme/gnome-shell-sass/widgets/_search-entry.scss

index 0a43e86f37db2e1288343c331cc04468dd376754..5a1194556630b2b71eec148c0b59bf9d8c1e68ef 100644 (file)
@@ -3,7 +3,7 @@
 StEntry {
   border-radius: $base_border_radius;
   padding: 8px;
-  border-width: 1px;
+  border-width: 0;
   color: $fg_color;
   @include entry(normal);
   //&:hover { @include entry(hover);}
index b184e674e32717413b39e3a7e66d1016a47135ed..d3584fb9c666a121b81e3217708bf9cf6d7e2858 100644 (file)
@@ -10,19 +10,16 @@ $search_entry_height: 36px;
   border-radius: $search_entry_height * 0.5; // half the height
   color: transparentize($fg_color,0.3);
   background-color: $bg_color;
-  border-color: $borders_color;
   margin-top: $base_spacing * 2;
   margin-bottom: $base_spacing;
-
+  border-width: 2px;
+  border-color: transparent;
   &:hover {
     background-color: $hover_bg_color;
-    border-color: $hover_borders_color;
     color: $hover_fg_color;
   }
 
   &:focus {
-    padding: $base_padding $base_padding+2; // 1px less to account for wider border
-    border-width: 2px;
     border-style: solid;
     border-color: $selected_bg_color;
     color: $fg_color;